package com.six.backend.handler;


import com.six.backend.service.PermissionService;
import com.six.backend.service.UserService;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * @Author 张重阳
 * @Date 2021-11-20 15:32
 * @Version 1.0
 */

public class ListenHandler implements CommandLineRunner, DisposableBean {

    @Autowired
    RedisTemplate redisTemplate;

    @Autowired
    PermissionService permissionService;

    @Override
    public void run(String... args) throws Exception {
        System.out.println("项目正在启动中。。。。。。。。。");
    }
    @Override
    public void destroy() throws Exception {
        System.out.println("项目正在结束。。。。。。。。。。");
    }


}